Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: duplicated HTR symbol #654

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

fix: duplicated HTR symbol #654

wants to merge 9 commits into from

Conversation

tuliomir
Copy link
Contributor

@tuliomir tuliomir commented Feb 14, 2025

Acceptance Criteria

  • Removes duplicated "HTR" Symbol from the create token screen
  • Replaces hardcoded "HTR" symbol with the dynamic value for the native token
  • Updates the readme instructions on how to update the translation files

Before and After

Security Checklist

  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

@tuliomir tuliomir added the bug Something isn't working label Feb 14, 2025
@tuliomir tuliomir self-assigned this Feb 14, 2025
@tuliomir tuliomir linked an issue Feb 14, 2025 that may be closed by this pull request
@tuliomir tuliomir requested review from r4mmer and removed request for pedroferreira1 February 15, 2025 00:19
{jt`You have ${amountAvailableText} HTR available`}
{jt`You have ${amountAvailableText} available`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to line

We should change the amountAvailableText to use the native token symbol we get from the fullnode.
This is because side-dags may use another symbol for the native token.

Copy link
Contributor Author

@tuliomir tuliomir Feb 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed on the CreateTokenAmount and CreateTokenConfirm screens in 4eebe07. There are still other instances of hardcoded HTR messages in other places in the code, but those must be fixed in another PR.

Fixed native token

@tuliomir tuliomir requested a review from r4mmer February 26, 2025 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Review (WIP)
Development

Successfully merging this pull request may close these issues.

Copywriting error during Token Creation Flow
3 participants